﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Share_Expert : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblInfo.Text = CurrentAccount.Account.UserName;
        if (DateTime.Now.Hour < 6)
        {
            lblWelcome.Text = "凌晨好！";
        }
        else if (DateTime.Now.Hour < 12)
            lblWelcome.Text = "上午好！";
        else if (DateTime.Now.Hour < 18)
            lblWelcome.Text = "下午好！";
        else
            lblWelcome.Text = "晚上好！";
        if (string.IsNullOrEmpty(Page.Title))
        {
            Page.Title = HZ.BidSystem.Application_Cache.Title;

        }
    }
}
